package com.moli.iov.handle.alarm.model.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *  取消报警DTO
 * </p>
 *
 * @author: zql
 * @Date: 2019/2/22 10:32
 */
@Data
public class DisarmAlarmDto implements Serializable {

    private static final long serialVersionUID = -5983379168821293583L;

    public DisarmAlarmDto() {
    }

    public DisarmAlarmDto(String vin,
                          Integer alarmCode,
                          Boolean isAntiShake) {
        this.vin = vin;
        this.alarmCode = alarmCode;
        this.isAntiShake = isAntiShake;
    }

    public DisarmAlarmDto(String vin, Integer alarmCode, Boolean isAntiShake,
        Double longitude, Double latitude) {
        this.vin = vin;
        this.alarmCode = alarmCode;
        this.isAntiShake = isAntiShake;
        this.longitude = longitude;
        this.latitude = latitude;
    }

    /**
     * 车架号
     */
    private String vin;

    /**
     * 报警编码
     */
    private Integer alarmCode;

    /**
     * 是否防抖  true 防抖  false 不防抖
     */
    private Boolean  isAntiShake;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;
}
